package com.oauth.service.global;

import java.util.ArrayList;
import java.util.List;

import com.oauth.service.global.beans.Birthday;
import com.oauth.service.global.beans.OAuthAccessToken;
import com.oauth.service.global.beans.OAuthRequestToken;

/**
 * Use this adapter to generate default behaviour for global functions.
 * 
 * @author asanthan
 * 
 */
public class ApplicationGlobalServiceAdapter implements ApplicationGlobalService {

	@Override
	public boolean updateStatus(Long pMemberId, String pStatusText) {
		return true;
	}

	@Override
	public List<Birthday> getUpcomingBirthdays(Long pMemberId, int pBirthdayInterval) {
		return new ArrayList<Birthday>(1);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.oauth.service.application.global.ApplicationGlobalService#getRequestToken
	 * (java.lang.Long)
	 */
	@Override
	public OAuthRequestToken getRequestToken() {
		return null;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.oauth.service.application.global.ApplicationGlobalService#getAccessToken
	 * (java.lang.Long)
	 */
	@Override
	public OAuthAccessToken getAccessToken(OAuthRequestToken requestToken) {
		return null;
	}

}
